BrowserSettings

interface BrowserSettings

The settings of the browser.

Properties

Link copied to clipboard

Indicates whether images are allowed to be loaded automatically on the web pages.

Link copied to clipboard

Returns the browser instance configured by this BrowserSettings.

Link copied to clipboard

Indicates whether JavaScript code on the loaded web pages can access clipboard.

Link copied to clipboard

Indicates whether JavaScript code is allowed to read/write cookies in the browser cookies storage.

Link copied to clipboard

Indicates whether JavaScript code on the loaded web page can close the browser.

Link copied to clipboard

The default background color of the web pages loaded in the browser.

Link copied to clipboard
Link copied to clipboard

The default font size in pixels of the web content.

Link copied to clipboard

Indicates whether images are displayed on the web pages.

Link copied to clipboard

Indicates whether JavaScript on the web pages is enabled.

Link copied to clipboard

Indicates whether the local storage in the browser is enabled.

Link copied to clipboard

Indicates whether the browser can navigate back/forward with a left/right swipe on a devices with touch screen.

Link copied to clipboard

Indicates whether plugins are enabled on the loaded web pages.

Link copied to clipboard

Indicates whether an insecure content can run in the browser.

Link copied to clipboard

Indicates whether scrollbars on the loaded web page are hidden.

Link copied to clipboard

Indicates whether the transparent background on the web pages is enabled.

Link copied to clipboard
var BrowserSettings.webRtcIpHandlingPolicy: <Error class: unknown class>
var BrowserSettings.webRtcIpHandlingPolicy: <Error class: unknown class>

WebRTC IP handling policy for the browser.

Functions

Link copied to clipboard
Allows JavaScript to write to the clipboard using document.execCommand('copy').
Link copied to clipboard
Allows JavaScript code on the web pages loaded in the browser to read/write cookies in the cookies storage using the document.cookie property.
Link copied to clipboard
Allows loading images automatically on the web pages loaded in the browser.
Link copied to clipboard
Allows running an insecure content in the browser.
Link copied to clipboard
Allows JavaScript code on the web pages loaded in the browser to close the browser.
Link copied to clipboard
abstract fun browser(): Browser
Returns the Browser instance configured by this settings.
Link copied to clipboard
Returns the default background color of the web pages loaded in the browser instance associated with these settings.
abstract fun defaultBackgroundColor(color: Color)
Sets the default background color of the web pages loaded in the browser instance associated with these settings.
Link copied to clipboard
abstract fun defaultEncoding(): String
Returns a string that represents the default text encoding.
abstract fun defaultEncoding(defaultEncoding: String)
Updates the default text encoding with the given value.
Link copied to clipboard
Returns the default font size in pixels of the web content in the browser.
abstract fun defaultFontSize(fontSize: FontSizeInPixels)
Sets the default font size of the web content in the browser.
Link copied to clipboard
abstract fun disableImages()
Disables images displaying on the web pages loaded in the browser.
Link copied to clipboard
abstract fun disableJavaScript()
Disables JavaScript on the web pages loaded in the browser.
Link copied to clipboard
abstract fun disableLocalStorage()
Disables the local storage in the browser.
Link copied to clipboard
Disallows back/forward navigation with a left/right swipe.
Link copied to clipboard
abstract fun disablePlugins()
Disables all plugins on the web pages loaded in the browser.
Link copied to clipboard
Disables transparent background on the web pages and makes it opaque.
Link copied to clipboard
Disallows JavaScript to write to the clipboard using document.execCommand('copy').
Link copied to clipboard
Disallows JavaScript code on the web pages loaded in the browser to read/write cookies in the cookies storage using the document.cookie property.
Link copied to clipboard
Disallows loading images automatically on the web pages loaded in the browser.
Link copied to clipboard
Disallows running an insecure content in the browser.
Link copied to clipboard
Disallows JavaScript code on the web pages loaded in the browser to close the browser.
Link copied to clipboard
abstract fun displayMode(): DisplayMode
Returns the display-mode CSS media feature for the browser.
abstract fun displayMode(displayMode: DisplayMode)
Overrides the display-mode CSS media feature for the browser with the given one.
Link copied to clipboard
abstract fun enableImages()
Enables images displaying on the web pages loaded in the browser.
Link copied to clipboard
abstract fun enableJavaScript()
Enables JavaScript on the web pages loaded in the browser.
Link copied to clipboard
abstract fun enableLocalStorage()
Enables the local storage in the browser.
Link copied to clipboard
Allows back/forward navigation with a left/right swipe.
Link copied to clipboard
abstract fun enablePlugins()
Enables all plugins on the web pages loaded in the browser.
Link copied to clipboard
Enables transparent background on the web pages.
Link copied to clipboard
abstract fun hideScrollbars()
Hides the scrollbars on the web pages loaded in the browser.
Link copied to clipboard
Indicates whether JavaScript code is permitted to write to the clipboard using document.execCommand('copy').
Link copied to clipboard
Indicates whether JavaScript code is allowed to read/write cookies in the browser cookies storage.
Link copied to clipboard
Indicates whether images are allowed to be loaded automatically on the web pages loaded in the browser.
Link copied to clipboard
Indicates whether an insecure content can run in the browser.
Link copied to clipboard
Indicates whether JavaScript code on the web pages loaded in the browser can close the browser.
Link copied to clipboard
abstract fun isImagesEnabled(): Boolean
Indicates whether images are displayed on the web pages loaded in the browser.
Link copied to clipboard
Indicates whether JavaScript on the web pages loaded in the browser is enabled.
Link copied to clipboard
Indicates whether the local storage in the browser is enabled.
Link copied to clipboard
Indicates whether the browser can navigate back/forward with a left/right swipe on a devices with touch screen.
Link copied to clipboard
abstract fun isPluginsEnabled(): Boolean
Indicates whether plugins are enabled on the web pages loaded in the browser.
Link copied to clipboard
Returns true when the transparent background on the web pages is enabled.
Link copied to clipboard
abstract fun scrollbarsHidden(): Boolean
Indicates whether scrollbars on a web page loaded in the browser are hidden.
Link copied to clipboard
abstract fun showScrollbars()
Shows the scrollbars on the web pages loaded in the browser.
Link copied to clipboard
abstract fun webRtcIpHandlingPolicy(): WebRtcIpHandlingPolicy
Returns the WebRTC IP handling policy for the browser.
abstract fun webRtcIpHandlingPolicy(policy: WebRtcIpHandlingPolicy)
Updates the WebRTC IP handling policy for the browser with the given one.